<?php
mySkyn::assetCSS('/admin/carnes/css/tipos.css');
?>
<div class="contenedor">
<?php foreach ($LISTA as $val):extract($val,EXTR_REFS);
$edit = BASE_URL_FULL . '/admin/carnes.php/formulario:animal/'.$id_carne .'?folder='.$_GET['folder'] .'&amp;tipo_id='.
 $_GET['tipo_id'] ;
$list = BASE_URL_FULL . '/admin/carnes.php/listar:animal_secciones/'.$animal_nombre.'?folder='.$_GET['folder'];
$delete = BASE_URL_FULL . '/admin/carnes.php/abms:delete_animal/'.$id_carne;
?>
	<div class="box">
		<strong><?=$titulo?></strong>
		<a href="<?=$list?>"><img src="<?=BASE_URL_FULL . '/'.$img?>" alt=""></a>
		<span class="opciones">
			<a href="<?=$edit?>" title="editar" 
				rel="ajax: <?=$edit?>" class="openmodalbox">&nbsp;</a>
			<a href="<?=$delete?>" title="Borrar" rel="ajax: <?=$delete?>" class="openmodalbox delete">&nbsp;</a>
		</span>
	</div>
<?php endforeach ?>
	<div class="box">
		<strong>AGREGAR</strong>
		<a class="openmodalbox button" >&nbsp;
<input type="hidden" name="ajaxhref" 
value="<?=BASE_URL_FULL . '/admin/carnes.php/formulario:animal/'?>?folder=<?=$_GET['folder']?>&amp;tipo_id=<?=$_GET['tipo_id']?>" />
		</a>
		<span class="opciones"></span>
	</div>
</div>